<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page pageEncoding="UTF-8"%>
<!DOCTYPE html>
<%@include file="template/header.jsp"%>

<%@include file="template/menu.jsp"%>

<div style="width: 1000px; display: inline-block; float: left;">

	<p id="title-affect"
		style="margin: 20px; padding-left: 50px; font: 30px Calibri, Bold, Helvetica, sans-serif;">
		l'agenda du niveau :"
		<c:out value="${examensBis[0].matiere.niveau}"></c:out>
		"
	</p>
	<form:form method="POST" commandName="salleBundle">
		<table id="box-table-a" summary="Employee Pay Sheet">
			<thead>
				<tr>
					<th scope="col">date/heur</th>
					<th scope="col">08h30 09h30</th>
					<th scope="col">09h30 10h30</th>
					<th scope="col">10h30 11h30</th>
					<th scope="col">11h30 12h30</th>
					<th scope="col">12h30 13h30</th>
					<th scope="col">13h30 14h30</th>
					<th scope="col">14h30 15h30</th>
					<th scope="col">15h30 16h30</th>
					<th scope="col">16h30 17h30</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach items="${examensBis}" var="examen">
					<tr>
						<td><c:out value="${examen.datedebut.jour}"></c:out></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '08h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '09h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '10h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '11h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '12h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '13h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '14h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '15h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '16h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
						<td><c:choose>
								<c:when test="${examen.datedebut.heur eq '17h30'}">
									<a
										href="/gestionDesSurveillance/Calandar/consulter/details?id=${examen.id}"
										target="_blank"><c:out value="${examen.matiere.intitule}"></c:out></a>
								</c:when>
							</c:choose></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>

	</form:form>
</div>
</body>

<%@include file="template/footer.jsp"%>
